package utilities;
import java.awt.Event;

public class ResultEvent extends Event{

	public ResultEvent(Object source, ResultType type, int damage, String arg) {
		super(source, Event.ACTION_EVENT, type.name());
		this.damage = damage;
		this.arg = arg;
		this.type = type;
	}
	
	public String getArgument() {
		return arg;
	}

	public ResultType getType() {
		return type;
	}

	public int getDamage(){
		return damage;
	}
	
	private int damage;
	private String arg;
	private ResultType type;
	private static final long serialVersionUID = -8558761559265647809L;

}
